public class Test28 {
    public static void main(String[] args) {
        //基本数据类型转换成包装类，装箱
        Integer x = new Integer(100);
        //包装类转换成基本数据类型，拆箱
        int y = x;
        System.out.println(x);
        //String -->>int
        String s1 ="100";
        System.out.println(Integer.parseInt(s1)+1);
        //Sting-->>Integer
        Integer s4 =Integer.parseInt("104");
        System.out.println(s4+4);
        //int-->>Integer
        Integer s2=100;
        System.out.println(s2+2);
        //int-->>String
        String s3 = String.valueOf(100);
        System.out.println(s3+"王");
        //Integer-->>String
        String s =String.valueOf(s2);
        System.out.println(s+"雯");
        //Integer-->>int
        int s5 =s2;
        System.out.println(s2+5);
    }
}
